﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace INTREPWEB.Models
{
    public class Navio
    {
        public int Id { get; set; }

        [Required]
        public string Nome { get; set; }

        [Required]
        public int Poroes { get; set; }

        [ForeignKey("Armador")]
        public int ArmadorId { get; set; }
        public virtual Armador Armador { get; set; }
    }
}